package com.bocai.user.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ImportResource;

/**
 * @author ：minyang
 * @date ：Created in 2019/7/25 7:37
 */
@EnableAutoConfiguration
@ImportResource("provider.xml")
public class ServiceApplication {

    public static void main(String[] args) {
//        SpringApplication.run(ServiceApplication.class);
        new SpringApplicationBuilder(ServiceApplication.class).web(WebApplicationType.NONE).run();
    }
}
